package com.engr.util;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * desc 属性配置类
 * @author lyx
 * @Date 2018-11-9
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@Configuration
public class ConfigProperties {

    //ip
    @Value("${spring.redis.host}")
    private String host;

    //端口号
    @Value("${spring.redis.port}")
    private Integer port;

    //超时时间
    @Value("${spring.redis.timeout}")
    private Integer timeout;

    //密码
    @Value("${spring.redis.password}")
    private String password;


}
